package com.ts.api.common.redis;

/**
 *  智能分配Redis常量
 */
public class DistributeRedisKey {

    private static final String LINK_KEY = "distributeLink:";

    /**
     * 获取链接Key
     *
     * @param  id
     * @return String
     */
    public static String getLinkKey(Long id) {
        return new StringBuilder(LINK_KEY).append(id).toString();
    }
}
